<template>

	<div class="popup" v-show="visible">
    <div class="navbar-wrapper headBack height-88">
      <div class="navbar height-88" style="margin-bottom: 0px;">
        <div class="left">
          <div @click="leftCall" class="font-34">< Back</div>
        </div>
        <div class="font-34">{{title}}</div>
      </div>
    </div>
		<slot></slot>
	</div>
</template>
<script >
	export default{
		name:'popup',
		data(){
		  return{
		  }
		},
		props:{
			visible:{type:[String,Boolean],default:false},
			left:{null},
			title:{type:[String,String],default:"标题"},
		},
    methods:{
      leftCall(){
         let leftCall = this.left;
         leftCall();
      }
    }
	}
</script>
